home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / www / src / midaswww-1.0 / SGMLListTextP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-16  |  2.1 KB  |  61 lines

  1. /*==================================================================*/
  2. /*                                                                  */
  3. /* SGMLListTextObject                                               */
  4. /*                                                                  */
  5. /* T.Johnson - (TonyJ@Slacvx.Slac.Stanford.Edu)           June.92   */
  6. /*                                                                  */
  7. /* Defines a text segment for the SGMLHyper widget                  */
  8. /*                                                                  */
  9. /*==================================================================*/
  10.  
  11. #ifndef SGMLLISTTEXTP_H
  12. #define SGMLLISTTEXTP_H
  13.  
  14. #include "SGMLListText.h"
  15. #include "SGMLCompositeTextP.h"
  16.  
  17. typedef struct _SGMLListTextClassPart{
  18.  
  19.    XtPointer          extension;      /* pointer to extension record     */
  20.  
  21. } SGMLListTextClassPart;
  22.  
  23. typedef struct _SGMLListTextClassRec{
  24.  
  25.     ObjectClassPart            object_class;
  26.     SGMLTextClassPart          sgml_text_class;
  27.     SGMLCompositeTextClassPart sgml_composite_text_class;
  28.     SGMLListTextClassPart      sgml_list_text_class;
  29.  
  30. } SGMLListTextClassRec, *SGMLListTextObjectClass;
  31.  
  32. extern SGMLListTextClassRec sGMLListTextClassRec;
  33.  
  34. typedef struct _BulletList
  35. {
  36.     Position    x;
  37.     Position    y;
  38.  
  39. } BulletListItem, *BulletList;
  40.  
  41. typedef struct _SGMLListTextPart {
  42.  
  43.     BulletList  bullets;         /* pointer to array of bullets         */
  44.     Cardinal    num_bullets;         /* total number of bullets          */
  45.     Cardinal    alloc_bullets;         /* total number of bullets allocated    */
  46.     int         bullet_type;         /* type of bullets              */
  47.     Dimension   bullet_size;         /* size of bullets                      */
  48.     Pixel       bullet_color;        /* color of bullets                     */ 
  49.     Dimension   bullet_indent;       /* indentation of bullet                */
  50.      
  51. } SGMLListTextPart;
  52.  
  53. typedef struct _SGMLListTextRec {
  54.     ObjectPart             object;
  55.     SGMLTextPart           sgml_text;
  56.     SGMLCompositeTextPart  sgml_composite_text;
  57.     SGMLListTextPart       sgml_list_text;
  58. } SGMLListTextRec;
  59.  
  60. #endif SGMLLISTTEXTP_H
  61.